package com.yuju.hotel.dao.mapper;

import com.yuju.hotel.dao.entity.HotelParam;
import com.yuju.hotel.dao.entity.HotelParamKey;
import com.yuju.persist.base.mapper.BaseMapper;
import java.util.List;
import java.util.Map;

public interface HotelParamMapper extends BaseMapper<HotelParam, HotelParamKey> {
    int deleteByPrimaryKey(HotelParamKey key);

    int selectCountByMap(Map<Object, Object> map);

    List<HotelParam> selectListByMap(Map<Object, Object> map);

    int insert(HotelParam record);

    int insertSelective(HotelParam record);

    HotelParam selectByPrimaryKey(HotelParamKey key);

    int updateByPrimaryKeySelective(HotelParam record);

    int updateByPrimaryKey(HotelParam record);
    
    /**
     * 
     * 功能：初始化酒店参数<br/>
     *
     * @author xuehj
     * @Date 2018年1月30日 下午6:01:46 <br/>
     */
    int initHotelParam(Map<Object, Object> map);
}